x86: allow Dom0 image to be compressed ELF
authorJan Beulich <jbeulich@novell.com>
Thu, 23 Jun 2011 10:33:57 +0000 (11:33 +0100)
committerJan Beulich <jbeulich@novell.com>
Thu, 23 Jun 2011 10:33:57 +0000 (11:33 +0100)
commit3a2aa7c24835359f3b3e04364ecabed5a1df2127
treeed3d1eb7635887c815b96ff7a0584c303b36f728
parentc24536b636f23e4d3202968fcad129d979881e2c
x86: allow Dom0 image to be compressed ELF

Rather than being able to decompress only the payloads of bzImage
containers, extend the logic to also decompress simple compressed ELF
images. At once, allow uncompressed bzImage payloads.

This is a prerequisite for native EFI booting support (where, in the
absence of a capable secondary boot loader, the image will always be
in compressed form).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/bzimage.c
xen/include/asm-x86/bzimage.h